home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / unity331.zip / COMPLEX.PJU < prev    next >
Text File  |  1991-09-19  |  2KB  |  63 lines

  1. # =================================================================
  2. # This is an example of a complex project file.  It is a slightly
  3. # modified duplicate of the project file used to create UINST.EXE
  4. # =================================================================
  5.  
  6. # -----------------------------------------------------------------
  7. # First define the directories where the various file types are
  8. # held.  It is assumed that the compilers and assemblers are
  9. # configured to find their support files.
  10. # -----------------------------------------------------------------
  11. #VAR asm=c:\pascal\asm\
  12. #VAR obj=c:\pascal\obj\
  13. #VAR unit=c:\pascal\unit\
  14. #VAR main=c:\pascal\
  15. #VAR inc=c:\pascal\include
  16.  
  17. # -----------------------------------------------------------------
  18. # Now define the syntax of each command used
  19. # -----------------------------------------------------------------
  20.  
  21. #VAR tasm=assemble /m $(asm)%N %1
  22.  
  23. #IFDEF debug
  24.   #VAR tpc=compile /v /ddebug %B%N
  25. #ELSE
  26.   #VAR tpc=compile %B%N
  27. #ENDIF
  28.  
  29. # -----------------------------------------------------------------
  30. # Inference rules
  31. # -----------------------------------------------------------------
  32.  
  33. .OBJ.ASM
  34.   $(tasm)
  35.  
  36. .TPU.PAS
  37.   $(tpc)
  38.  
  39. # -----------------------------------------------------------------
  40. # The actual dependency checks follow
  41. # -----------------------------------------------------------------
  42.  
  43. $(unit)ERRORS.TPU : %B%N.pas
  44.  
  45. $(unit)SINST.TPU : %B%N.pas
  46.  
  47. $(obj)ESCSEQ.OBJ : $(asm)%N.asm
  48.  
  49. $(unit)ESCSEQ.TPU : %B%N.pas $(obj)%N.obj
  50.  
  51. $(obj)SEARCH.OBJ : $(asm)%N.asm
  52.  
  53. $(unit)EDITOOLS.TPU : %B%N.pas $(unit)sinst.tpu $(unit)escseq.tpu +
  54.                       $(obj)search.obj
  55.  
  56. $(obj)IKEYS.OBJ : $(asm)%N.asm $(asm)cmds.def
  57.  
  58. $(main)UINST.EXE %B%N.pas $(unit)errors.tpu $(unit)editools.tpu +
  59.                  $(inc)cmds.inc $(inc)ivars.inc $(inc)ikey.inc +
  60.                  $(obj)ikeys.obj $(inc)optinst.inc $(inc)sortacg.inc +
  61.                  $(inc)ihelp.inc
  62.   $(tpc)
  63.